From 18004d2b7f3bf740cf90fb507e318e3d83644048 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 11 May 1993 02:48:07 +0000 Subject: [PATCH] * xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE macro here; that's x-specific. Just don't pass the second argument. * xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument; use F's default face. --- src/xfaces.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/xfaces.c b/src/xfaces.c index d2e8322802e..43dc440ae74 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -732,14 +732,13 @@ compute_char_face (f, w, pos, endptr) FACE_CODE as the face ID, assuming that ordinarily the face would be BASIC_FACE. F is the frame. */ int -compute_glyph_face (f, basic_face, face_code) +compute_glyph_face (f, face_code) struct frame *f; - struct face *basic_face; int face_code; { struct face face; - bcopy (basic_face, &face, sizeof (struct face)); + bcopy (FRAME_DEFAULT_FACE (f), &face, sizeof (face)); if (face_code >= 0 && face_code < FRAME_N_FACES (f) && FRAME_FACES (f) [face_code] != 0) -- 2.30.2